package s47.dqj.dao;

import java.util.List;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;

import s47.dqj.bean.MedicalRecallType;

public interface MedicalRecallTypeDaoInf {

	@Resource(name = "sessionFactory")
	public abstract void setSupperSessionFactory(SessionFactory sessionFactory);

	/**
	 * 查找全部召回类型
	 * @return
	 */
	public abstract List<MedicalRecallType> findAll();

	/**
	 * 新增
	 * @param medicalRecallType
	 */
	public abstract void save(MedicalRecallType medicalRecallType);

	/**
	 * 修改
	 * @param medicalRecallType
	 */
	public abstract void update(MedicalRecallType medicalRecallType);

	/**
	 * 删除
	 * @param medicalRecallType
	 */
	public abstract void delete(MedicalRecallType medicalRecallType);

}